package cn.wygandwdn.server;

import cn.wygandwdn.core.annotation.ServiceScan;
import cn.wygandwdn.core.transport.server.RpcServer;
import cn.wygandwdn.server.service.impl.HelloServiceImpl;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @description:
 * @author: WYG
 * @time: 2021/10/31 20:34
 */
@ServiceScan
public class NettyApplication {
    public static void main(String[] args) {
        RpcServer server = new RpcServer(NettyApplication.class);
        server.start();
    }
}
